<%-- 
    Document   : status_pendaftaran_haji
    Created on : Aug 9, 2012, 1:09:54 PM
    Author     : faizal.azlee(Theta-Edge Bhd)
--%>
<%@ include file="/WEB-INF/jsp/include/page_header.jspf" %>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>JSP Page</title>
        <script type="text/javascript">
            $(document).ready(function(){
                $('form').submit( function () {
                    return formValidation();
                }); 
            });
             function popup(){
                var url = '${pageContext.request.contextPath}/haji?surat';
                window.open(url);
            }
        </script>
    </head>
    <body>
        <s:form beanclass="th.stripes.action.HajiActionBean" class="niceform">
            <div id="content">
                <div id="logo">
                    <span>
                        <img src="${pageContext.request.contextPath}/images/img/ribbon.png"/>               
                    </span>
                </div>
                <h3>
                    Cetakan Surat Tawaran Haji
                </h3>   
                <p>
                    <label>Nama :</label> ${actionBean.haji.nama}       
                </p>
                <p>
                    <label>No. Akaun TH :</label> ${actionBean.haji.noAkaun}                 
                </p>
                <p>
                    <label>No. KP Semasa :</label> ${actionBean.haji.noKp}                  
                </p>                
                <p>
                    <label>Tahun Ditawarkan :</label> ${actionBean.haji.tahunTawaranHijrah}H/ ${actionBean.haji.tahunTawaran}M                    
                </p>
                <p>
                    <label>Tarikh Tawaran :</label><fmt:formatDate value="${actionBean.haji.tarikhTawaran}" pattern="dd/MM/yyyy"/>                  
                </p>
                <p>
                    <label>Tarikh Tutup Tawaran :</label><fmt:formatDate value="${actionBean.haji.tarikhTutupTawaran}" pattern="dd/MM/yyyy"/>                   
                </p>
                <p>
                    <label>Pejabat Pengendali Haji :<br/></label> ${actionBean.haji.pusatKos.nama}         
                </p>                
                <br/>
                <br/>
                <p>
                    Sebarang pertanyaan sila hubungi <i><b>THCC</b></i> di talian ${actionBean.haji.noTelTHCC}. 
                    <br/>               
                </p>                
                <p align="center">
                    <s:submit name="mainmenu" value="Halaman Utama" class="button green"/>
                    <s:button name="cetak" value="Cetak Surat" onclick="popup()" class="button green"/>
                </p>
            </div>
        </s:form>
    </body>
</html>
